class ReleaseScheduleModel {
  String departureDate;
  String depCity;
  String depLongitude;
  String depLatitude;
  String depAre;
  String destCity;
  String destArea;
  String destLongitude;
  String destLatitude;
  String seatNum;
  String orderType;

  ReleaseScheduleModel(
      {this.departureDate,
      this.depCity,
      this.depLongitude,
      this.depLatitude,
      this.depAre,
      this.destCity,
      this.destArea,
      this.destLongitude,
      this.destLatitude,
      this.seatNum,
      this.orderType});

  ReleaseScheduleModel.fromJson(Map<String, dynamic> json) {
    departureDate = json['departure_date'];
    depCity = json['dep_city'];
    depLongitude = json['dep_longitude'];
    depLatitude = json['dep_latitude'];
    depAre = json['dep_are'];
    destCity = json['dest_city'];
    destArea = json['dest_area'];
    destLongitude = json['dest_longitude'];
    destLatitude = json['dest_latitude'];
    seatNum = json['seat_num'];
    orderType = json['order_type'];
  }

  Map<String, dynamic> toJson() {
    final Map<String, dynamic> data = new Map<String, dynamic>();
    data['departure_date'] = this.departureDate;
    data['dep_city'] = this.depCity;
    data['dep_longitude'] = this.depLongitude;
    data['dep_latitude'] = this.depLatitude;
    data['dep_are'] = this.depAre;
    data['dest_city'] = this.destCity;
    data['dest_area'] = this.destArea;
    data['dest_longitude'] = this.destLongitude;
    data['dest_latitude'] = this.destLatitude;
    data['seat_num'] = this.seatNum;
    data['order_type'] = this.orderType;
    return data;
  }
}
